package com.leo.blog.service;

import java.util.List;

import com.leo.blog.dto.LogExecution;
import com.leo.blog.entity.Log;
import com.leo.blog.exceptions.LogOperationException;

public interface LogService {
	LogExecution deleteByPrimaryKey(int logId);
    
	LogExecution addLog(Log log) throws LogOperationException;

	LogExecution addSelective(Log log) throws LogOperationException;

	LogExecution getByPrimaryKey(int logId);

	LogExecution updateByPrimaryKeySelective(Log log);

	LogExecution updateByPrimaryKey(Log log);
    
	LogExecution getLogListByDate(Log logCondition, int pageIndex, int pageSize);
    
    List<?> getUserLogByDate(Log logCondition);
}
